SetInspectModeRequest

data class SetInspectModeRequest(mode: InspectMode, highlightConfig: HighlightConfig?)

Represents request frame that can be used with Overlay#setInspectMode operation call.

Enters the 'inspect' mode. In this mode, elements that user is hovering over are highlighted. Backend then generates 'inspectNodeRequested' event upon element selection.

See also

Constructors

SetInspectModeRequest
Link copied to clipboard
fun SetInspectModeRequest(mode: InspectMode, highlightConfig: HighlightConfig? = null)

Properties

highlightConfig
Link copied to clipboard
val highlightConfig: HighlightConfig? = null
A descriptor for the highlight appearance of hovered-over nodes.
mode
Link copied to clipboard
val mode: InspectMode
Set an inspection mode.

Sources

jvm source
Link copied to clipboard